package homework.advance.two;

import java.util.*;

public class ShuangSeQiu {

	public static void main(String[] args) {
		List list = new ArrayList();
		for (int i = 0; i < 6; i++) {
			int a = (int) (Math.random() * 33 + 1);
			if (list.indexOf(a) != -1) {
				i--;

			} else {
				list.add(a);

			}
		}
		list.add((int) (Math.random() * 16 + 1));
		Iterator b = list.iterator();
		while (b.hasNext()) {
			Object o = b.next();
			System.out.println(o);
		}

	}
}